package polymorphism1;

/**
 * Created with IntelliJ IDEA.
 * Description:
 * User: 86156
 * Date: 2023-04-12
 * Time: 8:55
 */
public class Administrator extends Person{

    public Administrator() {
    }

    public Administrator(String name, int age) {
        super(name, age);
    }

    public void show(){
        System.out.println("管理员的信息为"+getName()+" "+getAge());

    }
}
